export default [
  {
    path: '/',
    redirect: '/index'
  },
  {
    path: '/index',
    name: 'Index',
    component: resolve => require(['../views/Index'], resolve)
  },
  {
    path: '/setting',
    name: 'Setting',
    component: resolve => require(['../views/setting/Index'], resolve),
    meta: { title: '用户设置' }
  },
  {
    path: '/message',
    name: 'Message',
    component: resolve => require(['../views/Message'], resolve)
  },
  {
    path: '/login',
    name: 'Login',
    meta: { title: '用户绑定' },
    component: resolve => require(['../views/Login'], resolve)
  },
  {
    path: '/register',
    name: 'Register',
    component: resolve => require(['../views/Register'], resolve)
  },
  {
    path: '/getpassword',
    name: 'GetPassword',
    component: resolve => require(['../views/GetPassword'], resolve)
  },
  {
    path: '/lisence',
    component: resolve => require(['../views/Lisence'], resolve)
  }
]
